package com.springboot.cloud.sysapps.exam.form;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.springboot.cloud.common.web.entity.form.BaseForm;
import com.springboot.cloud.sysapps.exam.po.Question;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@ApiModel
@Data
public class QuestionForm extends BaseForm<Question> {
    @ApiModelProperty(value = "所属专业")
    @NotBlank(message = "所属专业不能为空")

    private  String subjectsId;
    @ApiModelProperty(value = "所属模块")
    @NotBlank(message = "所属模块不能为空")
    private  String modulesId;
    @ApiModelProperty(value = "所属技能点")
    @NotBlank(message = "所属技能点不能为空")
    private  String skillsId;
    @ApiModelProperty(value = "所属题型")
    @NotBlank(message = "所属题型不能为空")
    private  String questionTypesId;
    @ApiModelProperty(value = "题干")
    @NotBlank(message = "题干不能为空")
    private  String question;
    @ApiModelProperty(value = "题项")
    @NotBlank(message = "所属题项不能为空")
    private  String items;
    @ApiModelProperty(value = "解析")
    @NotBlank(message = "所属解析不能为空")
    private String  analysis;
    @ApiModelProperty(value = "答案")
    @NotBlank(message = "答案不能为空")
    private  String answer;
    @ApiModelProperty(value = "介绍")
    private  String deleted="N";


















}
